<template>
  <NstdCheckboxGroup v-model="checkedCities" :min="1" :max="2" :options="cities">
  </NstdCheckboxGroup>
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const checkedCities = ref([1])
const cities = [
  {
    type: 'checkbox',
    label: 1,
    value: 'Shanghai'
  },
  {
    type: 'checkbox',
    label: 2,
    value: 'Beijing'
  }
]
</script>
